/*******************************************************************************
* Project: QSAR(Cute Software Architecture) 
*
* Copyright: Copyright(C) 2024 by YuetingBen, All Rights Reserved
*
* File name: ComStackCfg.h
*
* Brief: ;
*
* Author: Yueting.Ben
*
* Module: ComStack
*
*******************************************************************************/

#ifndef COMSTACKCFG_H
#define COMSTACKCFG_H

/** HEADER FILES **/
#include "ComStackType.h"
#include "ComStackRte.h" 


/** MACRO DEFINITION **/
#define ComStackConf_Pdu_Tx_Channel1_Can1_0x101 0u
#define ComStackConf_Pdu_Tx_Channel1_Can2_0x102 1u
#define ComStackConf_Pdu_Tx_Channel1_Can3_0x720 2u
#define ComStackConf_Pdu_Tx_Channel1_Can4_0x500 3u

#define ComStackConf_Pdu_Rx_Channel1_Can1_0x201 4u
#define ComStackConf_Pdu_Rx_Channel1_Can2_0x202 5u
#define ComStackConf_Pdu_Rx_Channel1_Can3_0x710 6u
#define ComStackConf_Pdu_Rx_Channel1_Can4_0x7DF 7u
#define ComStackConf_Pdu_Rx_Channel1_Can5_NM    8u

#define ComStackConf_Pdu_Max 9u


/** TYPEDEF DEFINITION **/
typedef struct
{
    uint8 MetaDataItemLength;
    uint8 MetaDataItem[8u];
}MetaDataType;


typedef struct
{
    uint32 PduLength;
    MetaDataType* MetaDataTypeRef;
}PduType;


/** GLOBAL DATA DEFINITION **/
extern PduType Pdu[ComStackConf_Pdu_Max];



#endif
